﻿@model IList<Wicresoft.SelfService.DAO.actionType>
@foreach (Wicresoft.SelfService.DAO.actionType a in Model)
{
    switch (a)
    {
        case Wicresoft.SelfService.DAO.actionType.submit:
    <input class="Button1 ui-icons subForward" title="提交该申请至下一审批人" value="提交" type="submit"
        name="actionSubmit" />
            break;
        case Wicresoft.SelfService.DAO.actionType.save:
    <input class="Button1 ui-icons subSave" title="保存该申请单" value="保存" type="submit" name="actionSubmit" />
            break;
        case Wicresoft.SelfService.DAO.actionType.undo:
    <input class="Button1 ui-icons btnUndo" title="撤销该申请单" value="撤销" type="button" />
            break;
        case Wicresoft.SelfService.DAO.actionType.cancel:
    <input class="Button1 ui-icons btnCancel" title="取消该申请单" value="取消" type="button" />
            break;
        case Wicresoft.SelfService.DAO.actionType.approve:
    <input class="Button1 ui-icons btnApprove" title="通过该申请" value="同意" type="button" />
            break;
        case Wicresoft.SelfService.DAO.actionType.reject:
    <input class="Button1 ui-icons btnReject" title="拒绝该申请" value="拒绝" type="button" />
            break;
        case Wicresoft.SelfService.DAO.actionType.checkSuggestion:
        case Wicresoft.SelfService.DAO.actionType.addSuggestion:
    <input class="Button1 ui-icons btnViewSuggestion" title="查看审批意见" value="意见" type="button" />
            break;
    }
}